]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoaltTab: make thumbnails scroll to right if needed at first Alt+Shift+Above_Tab
Rui Matos [Thu, 21 Jul 2011 17:58:43 +0000 (18:58 +0100)]
altTab: make thumbnails scroll to right if needed at first Alt+Shift+Above_Tab

Force an allocation at thumbnails creation so we can figure out whether we
need to scroll when selecting.

We also need to show() the whole AltTabPopup before calling _select() so that,
when computing the scrolling offset, the widgets already have their styles
loaded. Otherwise we will miss the switcher list item container's spacing.

https://bugzilla.gnome.org/show_bug.cgi?id=655069

15 years agoUpdated Spanish translation
Jorge González [Tue, 6 Sep 2011 18:04:43 +0000 (20:04 +0200)]
Updated Spanish translation

15 years agouser-menu: Rename "Do Not Disturb" to "Notifications"
Florian Müllner [Sun, 4 Sep 2011 16:39:37 +0000 (18:39 +0200)]
user-menu: Rename "Do Not Disturb" to "Notifications"

At least for the foreseeable future, the gnome-session desktop
presence won't be used for anything but suppressing (non-urgent)
notifications. To clarify this behavior, rename the "Do Not Disturb"
switch to "Notifications" (and adjust the switch logic accordingly).

https://bugzilla.gnome.org/show_bug.cgi?id=652718

15 years agoUpdated Japanese translation
Takayuki KUSANO [Tue, 6 Sep 2011 07:32:15 +0000 (16:32 +0900)]
Updated Japanese translation

15 years agoappDisplay: Do not show NoDisplay directories either
Jasper St. Pierre [Sun, 4 Sep 2011 23:15:13 +0000 (19:15 -0400)]
appDisplay: Do not show NoDisplay directories either

https://bugzilla.gnome.org/show_bug.cgi?id=658176

15 years agoapps: Ensure running apps override new .desktop file data
Colin Walters [Sat, 3 Sep 2011 14:32:06 +0000 (10:32 -0400)]
apps: Ensure running apps override new .desktop file data

This patch fixes the "apps vanish from alt-TAB bug".

If a "package system" rips away and possibly replaces .desktop files
at some random time, we have historically used inotify to detect this
and reread state (in a racy way, but...).  In GNOME 2, this was
generally not too problematic because the menu widget was totally
separate from the list of windows - and the data they operate on was
disjoint as well.

In GNOME 3 we unify these, and this creates architectural problems
because the windows are tied to the app.

What this patch tries to do is, when rereading the application state,
if we have a running application, we keep that app around instead of
making a new instance.  This ensures we preserve any state such as the
set of open windows.

This requires moving the running state into ShellAppSystem.  Adjust
callers as necessary, and while we're at it drop the unused "contexts"
stuff.

This is just a somewhat quick band-aid; a REAL fix would require us
having low-level control over application installation.  As long as
we're on top of random broken tar+wget wrappers, it will be gross.

A slight future improvement to this patch would add an explicit
"merge" between the old and new data.  I think probably we always keep
around the ShellApp corresponding to a given ID, but replace its
GMenuTreeEntry.

https://bugzilla.gnome.org/show_bug.cgi?id=657990

15 years agoUpdated Danish translation
Kris Thomsen [Mon, 5 Sep 2011 21:12:52 +0000 (23:12 +0200)]
Updated Danish translation

15 years agorun-js-test: fix
Dan Winship [Fri, 2 Sep 2011 16:53:36 +0000 (12:53 -0400)]
run-js-test: fix

Needs to explicitly initialize the ShellGlobal now

https://bugzilla.gnome.org/show_bug.cgi?id=649631

15 years agoRevert "volume: Increase maximum by 50% for outputs with decibel support"
Bastien Nocera [Wed, 31 Aug 2011 10:46:57 +0000 (11:46 +0100)]
Revert "volume: Increase maximum by 50% for outputs with decibel support"

This reverts commit bdd805a3eea2a4bf88bb77e5ad7da50b0bd9fdd5.

Conflicts:

js/ui/status/volume.js

https://bugzilla.gnome.org/show_bug.cgi?id=657607

15 years agoUpdated galician translations
Fran Dieguez [Sun, 4 Sep 2011 18:01:33 +0000 (20:01 +0200)]
Updated galician translations

15 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sun, 4 Sep 2011 16:01:55 +0000 (19:01 +0300)]
Updated Belarusian translation.

15 years agoupdate PunjabiTranslation
A S Alam [Sun, 4 Sep 2011 13:39:33 +0000 (19:09 +0530)]
update PunjabiTranslation

15 years agooverview: Add API to remove search providers
Philippe Normand [Sun, 28 Aug 2011 11:20:37 +0000 (13:20 +0200)]
overview: Add API to remove search providers

As extensions are now expected to provide a "disable" function,
they need to remove search providers they added. Implement the
removal functionality and add a public removeSearchProvider()
method.

https://bugzilla.gnome.org/show_bug.cgi?id=657548

15 years agooverview: Add public API to add search providers
Philippe Normand [Sat, 3 Sep 2011 10:01:33 +0000 (12:01 +0200)]
overview: Add public API to add search providers

Add a addSearchProvider() method, so extensions don't have to access the
view selector directly, which is now a private property of the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=658113

15 years agoupdated Tamil translation
Dr.T.Vasudevan [Sun, 4 Sep 2011 06:30:31 +0000 (12:00 +0530)]
updated Tamil translation

15 years agoUpdated Tamil translation
Dr.T.Vasudevan [Thu, 1 Sep 2011 15:39:52 +0000 (21:09 +0530)]
Updated Tamil translation

15 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 3 Sep 2011 21:10:59 +0000 (00:10 +0300)]
Updated Lithuanian translation

15 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Sat, 3 Sep 2011 11:58:46 +0000 (13:58 +0200)]
Added Norwegian bokmål translation

15 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 3 Sep 2011 11:17:06 +0000 (19:17 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

15 years agoUpdated Russian translation
Stas Solovey [Sat, 3 Sep 2011 06:52:34 +0000 (10:52 +0400)]
Updated Russian translation

15 years agomessageTray: Don't try to URL highlight an invisible actor
Jasper St. Pierre [Mon, 29 Aug 2011 23:10:14 +0000 (19:10 -0400)]
messageTray: Don't try to URL highlight an invisible actor

https://bugzilla.gnome.org/show_bug.cgi?id=656142

15 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 2 Sep 2011 18:39:24 +0000 (21:39 +0300)]
Updated Belarusian translation.

15 years agouser-menu: Keep track of current presence
Florian Müllner [Fri, 2 Sep 2011 12:15:31 +0000 (14:15 +0200)]
user-menu: Keep track of current presence

We keep track of presence changes by connecting to the
Tp.AccountManager:most-available-presence-changed signal.
However, if multiple accounts are in use, telepathy may
lie to us and emit the signal even when the most available
presence is unchanged.
Work around this by keeping track of the current presence
ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=657703

15 years agopopup-menu: Allow updating combobox items with scroll wheel
Florian Müllner [Thu, 1 Sep 2011 17:33:31 +0000 (19:33 +0200)]
popup-menu: Allow updating combobox items with scroll wheel

Rather than opening the combobox menu, allow using the scroll wheel
to cycle through the visible items.

https://bugzilla.gnome.org/show_bug.cgi?id=657973

15 years agoSwitch default browser to Epiphany
Colin Walters [Thu, 19 May 2011 17:41:43 +0000 (13:41 -0400)]
Switch default browser to Epiphany

1) This is the official GNOME browser.  The default favorite apps
   are just some random picks, and anyone who wants to
   switch can obviously use patches.
2) mozilla.desktop isn't actually even upstream in Firefox, so this
   devolves to patches Fedora/Ubuntu carry to make one, meaning
   that others have to patch the app list anyways.

https://bugzilla.gnome.org/show_bug.cgi?id=650616

15 years agoFix bus name in error message
Marc-Antoine Perennou [Fri, 2 Sep 2011 15:51:14 +0000 (17:51 +0200)]
Fix bus name in error message

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15 years agomain: grab the keyboard D-Bus interface at startup
Dan Winship [Fri, 2 Sep 2011 15:28:47 +0000 (11:28 -0400)]
main: grab the keyboard D-Bus interface at startup

https://bugzilla.gnome.org/show_bug.cgi?id=658065

15 years ago[l10n] Updated German translation
Mario Blättermann [Fri, 2 Sep 2011 14:55:32 +0000 (16:55 +0200)]
[l10n] Updated German translation

15 years agoworkspacesView: Only connect to nWorkspacesChanged after we've lazily inited
Jasper St. Pierre [Thu, 1 Sep 2011 20:09:46 +0000 (16:09 -0400)]
workspacesView: Only connect to nWorkspacesChanged after we've lazily inited

We lazily init this._workspaces, so we shouldn't try to run any code that uses
it until after it's been created.

https://bugzilla.gnome.org/show_bug.cgi?id=658007

15 years agoUpdated Spanish translation
Jorge González [Thu, 1 Sep 2011 17:41:53 +0000 (19:41 +0200)]
Updated Spanish translation

15 years agoUpdated Swedish translation
Daniel Nylander [Thu, 1 Sep 2011 14:07:09 +0000 (16:07 +0200)]
Updated Swedish translation

15 years agotelepathyClient: don't try to translate concatenations of strings
Dan Winship [Tue, 30 Aug 2011 20:16:28 +0000 (16:16 -0400)]
telepathyClient: don't try to translate concatenations of strings

xgettext doesn't recognize it

https://bugzilla.gnome.org/show_bug.cgi?id=657759

15 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Thu, 1 Sep 2011 06:06:41 +0000 (08:06 +0200)]
Added Norwegian bokmål translation

15 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Wed, 31 Aug 2011 19:48:27 +0000 (21:48 +0200)]
Added Norwegian bokmål translation

15 years agoUpdated galician translations
Fran Dieguez [Wed, 31 Aug 2011 20:27:58 +0000 (22:27 +0200)]
Updated galician translations

15 years agoBump version to 3.1.90.1
Owen W. Taylor [Wed, 31 Aug 2011 15:48:43 +0000 (11:48 -0400)]
Bump version to 3.1.90.1

Update NEWS

15 years agoUpdated Spanish translation
Jorge González [Tue, 30 Aug 2011 19:36:47 +0000 (21:36 +0200)]
Updated Spanish translation

15 years agoautorun: use the new "media-removable" icon
Cosimo Cecchi [Tue, 30 Aug 2011 19:17:47 +0000 (15:17 -0400)]
autorun: use the new "media-removable" icon

gnome-icon-theme recently added this icon for removable devices.

https://bugzilla.gnome.org/show_bug.cgi?id=657757

15 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 30 Aug 2011 19:24:52 +0000 (21:24 +0200)]
Updated Spanish translation

15 years agoFixed and updated Russian translation
Stas Solovey [Tue, 30 Aug 2011 16:32:22 +0000 (20:32 +0400)]
Fixed and updated Russian translation

15 years agoAdd some (element-type) annotations to appease g-i master
Dan Winship [Tue, 30 Aug 2011 16:07:11 +0000 (12:07 -0400)]
Add some (element-type) annotations to appease g-i master

15 years agoAdd support for asynchronous search providers
Philippe Normand [Sun, 24 Jul 2011 10:29:36 +0000 (12:29 +0200)]
Add support for asynchronous search providers

Some search providers may want to change their results, or may not
want to block on an external service to get their results (DBus, etc.)
Set up an infrastructure to allow search providers to add their search
results at a later time.

Based on a patch by Jasper St. Pierre and Seif Lotfy.

https://bugzilla.gnome.org/show_bug.cgi?id=655220

15 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 30 Aug 2011 15:39:09 +0000 (17:39 +0200)]
Updated POTFILES.in

15 years agobuild: Make caribou depend on libgee
Adel Gadllah [Tue, 30 Aug 2011 12:35:16 +0000 (14:35 +0200)]
build: Make caribou depend on libgee

https://bugzilla.gnome.org/show_bug.cgi?id=657697

15 years agodon't translate IM status
Guillaume Desmottes [Tue, 30 Aug 2011 12:35:20 +0000 (14:35 +0200)]
don't translate IM status

They are well-known strings defined in the Telepathy spec and so shouldn't be
translated.

https://bugzilla.gnome.org/show_bug.cgi?id=657696

15 years agoFix batch import for loginDialog
Marc-Antoine Perennou [Tue, 30 Aug 2011 11:52:25 +0000 (13:52 +0200)]
Fix batch import for loginDialog

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
15 years agoDon't crash displaying contacts with no alias
Alexander Larsson [Tue, 30 Aug 2011 09:13:35 +0000 (11:13 +0200)]
Don't crash displaying contacts with no alias

If a folks individual has no alias we crash when passing in NULL
to strstr(). Fix this by checking for non-null first.

15 years agouserMenu: Don't show the default avatar over a newly selected one
Jasper St. Pierre [Mon, 29 Aug 2011 21:41:10 +0000 (17:41 -0400)]
userMenu: Don't show the default avatar over a newly selected one

When we replace the default avatar image with a real image, we need
to remove the default avatar image.

https://bugzilla.gnome.org/show_bug.cgi?id=657657

15 years agoBump version to 3.1.90
Owen W. Taylor [Mon, 29 Aug 2011 20:49:58 +0000 (16:49 -0400)]
Bump version to 3.1.90

Update NEWS

15 years agooverview: Compensate for the window's invisible borders
Jasper St. Pierre [Mon, 29 Aug 2011 16:25:11 +0000 (12:25 -0400)]
overview: Compensate for the window's invisible borders

https://bugzilla.gnome.org/show_bug.cgi?id=656335

15 years agoToggle mutter's unredirect features on/off depending on the situation
Adel Gadllah [Mon, 29 Aug 2011 21:55:42 +0000 (23:55 +0200)]
Toggle mutter's unredirect features on/off depending on the situation

We disable it when in the overview or when recording a video and otherwise
leave it enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=618497

15 years agosearch: Allow searching for people in overview mode
Morten Mjelva [Fri, 26 Aug 2011 14:15:38 +0000 (16:15 +0200)]
search: Allow searching for people in overview mode

This adds contacts search to shell, powered by libfolks.
Changes:

- Add Folks and Gee to the build system
- ShellContactSystem, a backend in C
- ContactDisplay, search frontend in JS

https://bugzilla.gnome.org/show_bug.cgi?id=643018

15 years agoMake GridSearchResults take a grid as an optional parameter
Morten Mjelva [Sun, 28 Aug 2011 20:14:15 +0000 (22:14 +0200)]
Make GridSearchResults take a grid as an optional parameter

This is useful since contact search results use a custom grid

https://bugzilla.gnome.org/show_bug.cgi?id=643018

15 years agoReplace GdmUser with AccountsService
Florian Müllner [Tue, 10 May 2011 14:13:05 +0000 (16:13 +0200)]
Replace GdmUser with AccountsService

The GdmUser copy+paste code has been superseded by AccountsService,
so kill the former and use the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=650893

15 years agouser-menu: Implement new mockups
Florian Müllner [Thu, 28 Jul 2011 14:59:03 +0000 (16:59 +0200)]
user-menu: Implement new mockups

The current user status menu allow to set the session status,
which also influences the IM status when signed in with
mission-control. However, the way it is presented to the user
makes it hard to figure out how the statuses interact or that
there are two distinct status in the first place.
Therefore, use a separate control for each status, and update the
overall look to match gnome-contacts.

https://bugzilla.gnome.org/show_bug.cgi?id=652837

15 years agopopup-menu: Expand switch menu items
Florian Müllner [Thu, 28 Jul 2011 14:59:10 +0000 (16:59 +0200)]
popup-menu: Expand switch menu items

Given that our menus contain at most two columns, all switch widgets
in menus end up in the last columns, and thus aligned with the right
menu edge.
However, the updated user status menu will contain a section which
ignores the menu's column layout, so the switch might end up in
the middle of the menu if the overall width is determined by said
section.
At least for now, we always want the switch to align with the end,
so just expand switch menu items rather than adding an option.

https://bugzilla.gnome.org/show_bug.cgi?id=652837

15 years agopopup-menu: Add combo box menu item
Florian Müllner [Thu, 21 Jul 2011 03:17:05 +0000 (05:17 +0200)]
popup-menu: Add combo box menu item

Introduce a new menu widget, which displays the active item from
a set of options, and pops up a child menu to allow changing the
active item when activated.

https://bugzilla.gnome.org/show_bug.cgi?id=652837

15 years agopopup-menu: Add support for child menus
Florian Müllner [Tue, 12 Jul 2011 19:47:37 +0000 (21:47 +0200)]
popup-menu: Add support for child menus

Allow opening a popup menu from another menu. While the child menu
is open, events on the parent menu are blocked. The parent menu
is kept open when the child menu is closed; the child menu on the
other hand is closed with the parent, e.g. when the focus moves
to another toplevel menu.
This feature will be used to implement combo box menu items.

https://bugzilla.gnome.org/show_bug.cgi?id=652837

15 years agostatus-menu: Rename to userMenu
Florian Müllner [Mon, 29 Aug 2011 19:56:22 +0000 (21:56 +0200)]
status-menu: Rename to userMenu

We haven't actually been calling the top-right menu "status menu" for
quite some time, so use the upcoming code changes as an excuse for
renaming it to "user menu".

15 years agoappDisplay: Don't show NoDisplay items in the Applications tab
Jasper St. Pierre [Mon, 29 Aug 2011 19:29:49 +0000 (15:29 -0400)]
appDisplay: Don't show NoDisplay items in the Applications tab

15 years agoFavorites: Add gnome-documents to default list
Adel Gadllah [Sat, 27 Aug 2011 17:22:14 +0000 (19:22 +0200)]
Favorites: Add gnome-documents to default list

We currenty don't have "finding and reminding" so we add gnome-documents
to the default favorites list to improve the document handling user expirence.

https://bugzilla.gnome.org/show_bug.cgi?id=657520

15 years agoAdd 'multi-line-notification' class name if the notification image is set
Marina Zhurakhinskaya [Mon, 29 Aug 2011 19:18:52 +0000 (15:18 -0400)]
Add 'multi-line-notification' class name if the notification image is set

Notifications with images are multi line notification.

15 years agoSpecify the style for the 'multi-line-notification' correctly
Marina Zhurakhinskaya [Mon, 29 Aug 2011 19:13:11 +0000 (15:13 -0400)]
Specify the style for the 'multi-line-notification' correctly

It was not taking effect before.

15 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 29 Aug 2011 18:46:20 +0000 (20:46 +0200)]
Updated POTFILES.in

15 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 29 Aug 2011 18:21:12 +0000 (20:21 +0200)]
Updated POTFILES.in

15 years agoOverview: dim the background with the dim-factor property
Rui Matos [Mon, 29 Aug 2011 01:41:28 +0000 (02:41 +0100)]
Overview: dim the background with the dim-factor property

Doing this rather than overdrawing a black rectangle saves us
(pixels in screen) * 8 bytes of memory bandwidth for every frame we draw going
into the overview.

It also allows us to dim the background on non-primary monitors making the
overall overview appearance consistent across all monitors.

https://bugzilla.gnome.org/show_bug.cgi?id=656433

15 years agoUse Meta.BackgroundActor instances instead of cloning global.background_actor
Rui Matos [Mon, 29 Aug 2011 01:37:41 +0000 (02:37 +0100)]
Use Meta.BackgroundActor instances instead of cloning global.background_actor

Instances of this class share a single CoglTexture behind the scenes which
allows us to show the background with different rendering options without
duplicating the texture data.

https://bugzilla.gnome.org/show_bug.cgi?id=656433

15 years agoAdd support for gdm greeter session
Ray Strode [Wed, 24 Aug 2011 02:12:57 +0000 (22:12 -0400)]
Add support for gdm greeter session

This commit adds GDM session support.

It provides a user list that talks to GDM,
handles authentication via PAM, etc.

It doesn't currently support fingerprint readers
and smartcards.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agomain: Factor out remaining user session specific bits
Ray Strode [Wed, 24 Aug 2011 01:53:02 +0000 (21:53 -0400)]
main: Factor out remaining user session specific bits

The shell has a number of things that are only relevant for
logged in users (e.g. calendar events, telepathy integration, a
user menu, etc).

This commit moves those user session specific bits into their
own functions in preparation for making the shell code ready
for use at login time.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopanel: Dynamically match corner to style of nearest button
Ray Strode [Sun, 28 Aug 2011 20:07:25 +0000 (16:07 -0400)]
panel: Dynamically match corner to style of nearest button

Right now the panel code makes the left corner sync up with the
activities button and the right corner sync up with the user menu.
This is fine as long as we have an activities button and a user menu.

The login screen won't have those things, though.

This commit changes the panel corner code to try to figure out which
interface element is the most appropriate to sync up with based on
its position in the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopopupMenu: Raise menu when popping it up
Ray Strode [Mon, 29 Aug 2011 16:04:17 +0000 (12:04 -0400)]
popupMenu: Raise menu when popping it up

When a menu gets popped up, it should never
pop behind anything else in the shell.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agomessageTray: implement showing images in notifications
Neha Doijode [Mon, 29 Aug 2011 17:11:24 +0000 (22:41 +0530)]
messageTray: implement showing images in notifications

Images are part of the notification spec, so we should support them.

Marina Zhurakhinskaya provided some code for getting the layout right
for this patch.

https://bugzilla.gnome.org/show_bug.cgi?id=621009

15 years agokeyboard: add an on-screen keyboard
Nohemi Fernandez [Mon, 29 Aug 2011 15:11:22 +0000 (11:11 -0400)]
keyboard: add an on-screen keyboard

https://bugzilla.gnome.org/show_bug.cgi?id=612662

15 years agolayout: add panelBox and trayBox
Dan Winship [Mon, 25 Jul 2011 18:25:51 +0000 (14:25 -0400)]
layout: add panelBox and trayBox

Have LayoutManager automatically deal with sizing and positioning
boxes for the panel and messageTray relative to the monitors.

Also, now that LayoutManager knows exactly where and how tall the
panel and tray are, have it manage the pointer barriers as well.

https://bugzilla.gnome.org/show_bug.cgi?id=612662

15 years agobatch: Add mechanism for doing animation series
Ray Strode [Thu, 30 Jun 2011 02:00:35 +0000 (22:00 -0400)]
batch: Add mechanism for doing animation series

In order for transformation animations to look good, they need to be
incremental and have some order to them (e.g., fade out hidden items,
then shrink to close the void left over).

Chaining animations in this way can be error prone and wordy using just
Tweener callbacks.

This commit adds a new set of classes to help:

 - Task.  encapsulates schedulable work to be run in a specific scope.

 - ConsecutiveBatch.  runs a series of tasks in order and completes
                      when the last in the series finishes.

 - ConcurrentBatch.  runs a set of tasks at the same time and completes
                     when the last to finish completes.

 - Hold.  prevents a batch from completing the pending task until
          the hold is released.

The tasks associated with a batch are specified in a list at batch
construction time as either task objects or plain functions.
Batches are task objects, themselves, so they can be nested.

For now, these APIs are temporarily getting staged in a gdm/ specific
subdirectory so they will be available for use by GDM.  They aren't
specific to GDM, or even to doing animations, though, so the API may eventually
move in some form or another to a more general location. Alternatively, the
APIs may ultimately get dropped entirely and replaced by something else.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agomodalDialog: add mode that leaves shell reactive
Ray Strode [Sun, 28 Aug 2011 03:04:56 +0000 (23:04 -0400)]
modalDialog: add mode that leaves shell reactive

A modal dialog in the shell blocks anything but that dialog from
receiving user input. Applications within the session and other
parts of UI are rendered non-reactive.

When GDM gets changed to use the shell for its greeter, the user
list will be presented as a shell dialog. That dialog shouldn't
block access to the panel menus, etc.

This commit adds a shellReactive property that makes the ModalDialog
class continue to block access to applications, but allow the user
to interact with the shell itself.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopopupMenu: Hide settings menus outside user session
Ray Strode [Mon, 29 Aug 2011 02:15:53 +0000 (22:15 -0400)]
popupMenu: Hide settings menus outside user session

The control-center contains user-pertinent settings
panels. These panels don't make sense to show outside
of a user's session, so hide them for session types other
than SessionType.USER.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agooverview: Add dummy mode
Ray Strode [Sun, 28 Aug 2011 14:24:48 +0000 (10:24 -0400)]
overview: Add dummy mode

We're not going to want an overview at the login screen,
but a lot of code in the shell depends on the overview
existing.

This commit adds a new isDummy constructor property to
allow creating the overview as a non-functional, stub object
that doesn't do anything visible.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agooverview: make shellInfo private
Ray Strode [Sun, 28 Aug 2011 14:07:44 +0000 (10:07 -0400)]
overview: make shellInfo private

This commit forwards the shellInfo setMessage method
to the overview itself and makes shellInfo private.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agooverview: make dash private
Ray Strode [Sun, 28 Aug 2011 13:35:13 +0000 (09:35 -0400)]
overview: make dash private

The dash object is currently exposed as a public object.
It's only used outside of the overview for the dash object's
iconSize property though.

This commit makes the dash object private and proxies the dash
iconSize property to the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agooverview: Make viewSelector private
Ray Strode [Sun, 28 Aug 2011 13:29:51 +0000 (09:29 -0400)]
overview: Make viewSelector private

It's only used internally by the overview itself,
and by some performance testing code, so don't
expose it as a public object.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agoglobal: Add concept of "session type"
Ray Strode [Tue, 21 Jun 2011 14:09:09 +0000 (10:09 -0400)]
global: Add concept of "session type"

This commit introduces a "session type" for
gnome-shell.  It essentially defines what
mode of operation the shell runs in
(normal-in-a-users-session mode, or at-the-login-screen mode).

Note this commit only lays the groundwork.  Actually
looking at the key and appropriately differentiating
the UI will happen in subsequent commits.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agoshell-global: require init call before shell_global_get()
Ray Strode [Sun, 28 Aug 2011 05:32:12 +0000 (01:32 -0400)]
shell-global: require init call before shell_global_get()

shell_global_get() currently implicitly instantiates the shell
global singleton the first time it's called.  This means there's
no opportunity to set construction-time properties on the singleton.

This isn't an issue yet, because there aren't any.  We will need it
in the future, though, when we grow a --gdm-mode that gets exposed as
a property through the global singleton.

This commit adds a new _shell_global_init() function that must be
invoked before shell_global_get() can be called.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agodateMenu: Make events list optional
Ray Strode [Mon, 22 Aug 2011 18:21:51 +0000 (14:21 -0400)]
dateMenu: Make events list optional

Right now, when a user clicks on the panel clock, a menu pops up with a
calendar and a list of events from the user's schedule.  The list of
events only makes sense from within a user's session, however.

As part of the prep work for making the shell a platform for the login
screen, this commit makes the events list optional.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agodateMenu: Force min-width of events area, not whole menu
Ray Strode [Tue, 28 Jun 2011 12:57:19 +0000 (08:57 -0400)]
dateMenu: Force min-width of events area, not whole menu

The theme currently hard codes the minimum size of the calendar
menu to make sure there's a designated area for events
(even if there isn't anything currently scheduled).

A side-effect of the hard coded minimum width is that
if the events area is hidden, the menu ends up much
bigger than the calendar.  We don't currently ever hide
the events area, but we will in the future.

This commit moves the min-width restriction from the menu
specifically to the events area.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopanelMenu: Separate from ui chrome layer
Ray Strode [Sun, 28 Aug 2011 03:44:04 +0000 (23:44 -0400)]
panelMenu: Separate from ui chrome layer

The chrome layer contains the user interface elements (e.g.,
the panel) that disappear when fullscreen windows get displayed.

Panel menus are currently put in the chrome layer, but don't need
to be, since they are only displayed when the user is interacting
with the shell and not a fullscreen application.

Putting panel menus in the chrome layer does mean they will get
stacked below shell interface elements that aren't in the chrome layer,
though.

This commit changes panel menus to be on the same layer as most other
shell elements, so they get properly stacked above those elements.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agomodalDialog: fade in buttons when first showing them
Ray Strode [Sun, 28 Aug 2011 02:51:54 +0000 (22:51 -0400)]
modalDialog: fade in buttons when first showing them

Right now, if buttons get set on a dialog after it is mapped,
they just pop in instantly.

We shouldn't have any harsh transitions like that, though.

This commit changes the buttons to quickly fade in, instead.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopopupMenu: Use new convenience method for settings
Ray Strode [Tue, 23 Aug 2011 14:14:55 +0000 (10:14 -0400)]
popupMenu: Use new convenience method for settings

All the system status menus in the panel offer a
menu item to jump to a relevant part of the
control-center.

This means each status icon has the same, or nearly the
same bit of code to:

- Add a new "action" menu item and listen for its activation.
- Hide the overview if it's showing when the menu item is activated
- Find the relevant control-center panel from its desktop file
- Launch the control-center to the relevant panel

This commit consolidates all those details in a new method,
addSettingsAction.  This refactoring reduces code duplication and
slight inconsistencies in the code resulting from that duplication.
It will also make it easier in subsequent commits to hide settings menu
items when the shell is used in the login screen.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agopopupMenu: Hide separators when they aren't separating
Ray Strode [Fri, 19 Aug 2011 18:42:20 +0000 (14:42 -0400)]
popupMenu: Hide separators when they aren't separating

A separator only makes sense if there are items on both
sides of it. There is quite a lot of code written
throughout the shell that manages the process of showing
and hiding separators as the items around those separators
change.

This commit drops all that code in favor of changes to the menu
implementation to dynamically hide or show separators as
appropriate, so the callers don't have to deal with it.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agost-adjustment: Drop all animation-y stuff
Ray Strode [Mon, 29 Aug 2011 01:24:35 +0000 (21:24 -0400)]
st-adjustment: Drop all animation-y stuff

StAdjustment has some non-functional and unused animation vestiges
like the "elastic" property, st_adjustment_interpolate() and
st_adjustment_clamp().

This commit vacuums that stuff up so it doesn't tempt anyone into
trying to use it.

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agoComplete transitioning away from nm-applet
Giovanni Campagna [Mon, 22 Aug 2011 16:21:31 +0000 (18:21 +0200)]
Complete transitioning away from nm-applet

Wireless and 3g dialog code has moved to gnome-control-center, so
we can stop calling out to nm-applet. Also, we can now enable the
notifications provided by the shell and kill a bit of code about
auth that is not actually needed.

https://bugzilla.gnome.org/show_bug.cgi?id=650244

15 years agoAdd a system modal dialog for network secrets
Giovanni Campagna [Fri, 19 Aug 2011 18:29:39 +0000 (20:29 +0200)]
Add a system modal dialog for network secrets

Using the new ShellNetworkAgent, show a system modal dialog
(similar to the PolicyKit one) when NetworkManager needs secrets
for connecting to wireless.

https://bugzilla.gnome.org/show_bug.cgi?id=650244

15 years agoAdd a new network agent for the Shell
Giovanni Campagna [Mon, 16 May 2011 18:12:17 +0000 (20:12 +0200)]
Add a new network agent for the Shell

A network agent is a component that stores network secrets (like
wifi passwords) in the session keyring. This commit adds an
implementation of it to be used by the shell network dialogs. It
handles most of the keyring stuff, delegating the UI to upper layers.

https://bugzilla.gnome.org/show_bug.cgi?id=650244

15 years agotelepathyClient: Add notification for account connection errors
Jasper St. Pierre [Sun, 28 Aug 2011 00:26:25 +0000 (20:26 -0400)]
telepathyClient: Add notification for account connection errors

Based on initial work from Alban Crequy and Xavier Claessens

https://bugzilla.gnome.org/show_bug.cgi?id=654159

15 years agotelepathyClient: Add IM subscription request support
Xavier Claessens [Fri, 26 Aug 2011 10:27:40 +0000 (12:27 +0200)]
telepathyClient: Add IM subscription request support

Based on initial work from Guillaume Desmottes

https://bugzilla.gnome.org/show_bug.cgi?id=653941

15 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 28 Aug 2011 12:04:58 +0000 (14:04 +0200)]
[l10n] Updated German translation

15 years agost-box-layout: Document insertion apis
Ray Strode [Fri, 19 Aug 2011 17:41:08 +0000 (13:41 -0400)]
st-box-layout: Document insertion apis

This commit just adds some brief doc comments
to st_box_layout_insert_actor() and
st_box_layout_insert_before()

https://bugzilla.gnome.org/show_bug.cgi?id=657082

15 years agowindowManager: use meta_window_is_attached_dialog()
Dan Winship [Tue, 5 Apr 2011 14:16:50 +0000 (10:16 -0400)]
windowManager: use meta_window_is_attached_dialog()

Use meta_window_is_attached_dialog() so that we only dim/unfold dialog
windows that mutter is actually showing as attached

https://bugzilla.gnome.org/show_bug.cgi?id=646761

15 years agoextensionSystem: Don't try to make the user extensinons dir if it exists
Jasper St. Pierre [Fri, 26 Aug 2011 21:33:52 +0000 (17:33 -0400)]
extensionSystem: Don't try to make the user extensinons dir if it exists

this removes the "Error invoking Gio.make_directory_with_parents: Error
creating directory: File exists" spam from the Errors tab of the Looking
Glass

15 years agotheme: Darken notification entry color a lot
Jasper St. Pierre [Fri, 26 Aug 2011 19:26:07 +0000 (15:26 -0400)]
theme: Darken notification entry color a lot

Makes it a lot easier to see what you're typing.